package 工厂模式;

public class main {
    public static void main(String[] args) {
        ShapeFactory shapeFactory = new ShapeFactory();
        shapeFactory.getShape(Rectangle.class).draw();
    }
}
